<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
			
			// // 添加监听从系统消息中心点击某条消息启动应用事件
			//     plus.push.addEventListener( "click", function ( msg ) {
			//      // 分析msg.payload处理业务逻辑 
			//      console.log( "You clicked: " + msg.content ); 
			//     }, false ); 
			//   void plus.push.createMessage( "同花顺资讯：情人节搭上国家经济刺激性消费、免税商品遭疯抢，海南发展一月内大涨302%！");
			
		},
		onHide: function() {
			console.log('App Hide')
		},
		mounted (){
		
		}
	}
</script>

<style>
	/*每个页面公共css */
	*{
		margin:0;
		padding:0;
		font-size:26rpx;
	}
	  .status_bar {
	      height: var(--status-bar-height);
	      width: 100%;
	  }
	  /* 回到顶部 */
	.huitop{
		width:80rpx;
		height:80rpx;
		position: fixed;
		right:30rpx;
		bottom:50rpx;
		z-index:9999;
	}
	
	/* 自定义导航栏 */
	/* #ifdef H5 */
	.topnav{
		top:0!important;
		padding-top:0!important;
	}
	/* #endif */
	.topnav{
		width:100%;
		background-color:#F8F8F8 ;
		color:#000;
		position: fixed;
		top:0rpx;
		z-index: 9999;
		height:100rpx;
		padding-top:15px;
		border-bottom: 2rpx solid #D9D9D9;
	}
	.topnav_box{
		width:95%;
		height:100%;
		display: flex;
		justify-content: center;
		align-items: center;
		margin:0 auto;
		font-size: 35rpx;
		text-align: center;
		white-space: nowrap;
		position: relative;
	}
	.leftimg{
		width:43rpx;
		position: absolute;
		left:0;
	}
	.loa_hui{
		color:#666;
		font-size:28rpx;
		position: absolute;
		right:5rpx;
		top:33%;
	}
	
</style>
